<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script type="text/javascript" src="jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="jquery.afm.js"></script>
<script type="text/javascript">
function makeFm() {
	var options = {
		msg : 'test',
		timeout : 100
	};
	$('#ex1').larento(options);
}

$(document).ready(function() {
	var options = {
			msg : 'Example with Append',
			timeout : 2000,
			type : 'append'			
		};
	$('#ex2').click(function () {
			$(this).larento(options);
	});

	options = {
			msg : 'Example with Inside,sasasasasasasasas',
			timeout : 4000,
			type : 'inside'			
		};
	$('#tip').click(function () {
		$(this).larento(options);
	})
});
</script>
<style type="text/css">
	.AxcotoFlashMessage {
		background-color: red;
		border: 1px solid blue;
		
	}
</style>
</head>
<body>

<div class='AxcotoFlashMessage' id='ex1'>

</div>

<a href='#' onclick='makeFm()'>Click here to test </a>


<div id='tip'>
	Hi there,
	
	I've been using cluetip calling an ajax page. The problem I am finding
	is that the ajax page is part of forms authentication so if this
	expires and a person hovers over an element to display the cluetip it
	will try and request the ajax page but come up with NTLM prompt.
	
	How can I detect that the ajax page tried to redirect to login page
	and suppress the NTLM username/password prompt?
	
	Regards DotnetShadow
</div>


<div style="background: yellow;" id="ex2"> dsa d sad sa dsad <br />Click inside this div</div>
</body>
</html>